package com.husd.framework.test.business;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class NameService {

    @Autowired
    private SimpleService simpleService;

    public String name(String name) {

        return "hello" + name;
    }

    public int age() {

        return simpleService.age();
    }
}
